package com.vehicle.common.util.thread.pool;

import java.util.concurrent.Executor;

/**
 * Created by yantingbin on 2017/7/29.
 */
public interface ExecutorFactory {
    String EVENT_WORKER_MQ="ewm";
    String EVENT_PUBLISH_MQ="epm";
    Executor get(String name);
    static ExecutorFactory create(){
        return new DefaultExecutorFactory();
    }
}
